<?php 

if($error == 0) { echo "&nbsp;Swap created - New PR: ".$pr; }
else { echo "&nbsp;<b>Invalid PR, please reload page</b>"; } 

?>